package us.wili.dev.dao.mapper.base;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import us.wili.dev.model.entity.Company;
import us.wili.dev.model.example.CompanyExample;

public interface BaseCompanyMapper {
    int insert(Company record);

    int batchInsert(List<Company> records);

    int insertSelective(Company record);

    int deleteByExample(CompanyExample example);

    long countByExample(CompanyExample example);

    int updateByExampleSelective(@Param("record") Company record, @Param("example") CompanyExample example);

    Company selectOneByExample(CompanyExample example);
}